getDuration

open fun getDuration(): Long(source)

Returns the current duration of property animations. If the duration was set on this object, that value is returned. Otherwise, the default value of the underlying Animator is returned.

Return

The duration of animations, in milliseconds.

See also